package com.hzhjhh.init.dialog;

import java.util.Vector;
import javax.swing.*;
import javax.swing.table.TableModel;

public class Mytable {
    public static JTable maketable(Vector obj, Vector title) {
        JTable table = new JTable();
        table = new JTable(obj, title);
        return table;
    }
    
    public static JTable maketable(TableModel tableModel) {
		JTable jTable = new JTable(tableModel);
		return jTable;
	}
}
